package com.ng.stat.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ng.common.utils.PageUtils;

import com.ng.stat.entity.BookEntity;
import com.ng.stat.entity.BookSortEntity;
import com.ng.stat.entity.BookWX;
import com.ng.stat.entity.groupyR;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.sql.Wrapper;
import java.util.Collection;
import java.util.List;

/**
 * @author cb
 * @Description TODO
 * @date 2023/2/25
 */
public interface SearchService {
    PageUtils queryPage(BookEntity entity, PageUtils page);

    PageUtils gethotpage(BookEntity entity, PageUtils page);

    List<BookEntity>querygroup(String name,String  classcode);
    PageUtils findListPage(BookEntity user,  PageUtils page);

    BookEntity   selectonebyid(String id);

   int insert(BookEntity entity) ;

    int update(BookEntity entity) ;

    int update(BookEntity entity, UpdateWrapper updateWrapper);


    int getcout();

    int removeByIds(String[] idList);




}
